trouble setting node['chef-client']['interval']

Posted by atiniir on Stack Overflow See other posts from Stack Overflow or by atiniir
Published on 2014-06-06T23:06:10Z Indexed on 2014/06/07 15:25 UTC
Read the original article Hit count: 206

Filed under:
|

I've searched many places and haven't get found the answer to this, I suspect I'm missing something either fundamental or basic (maybe both)

I'm using the chef-client::windows_service recipe and trying to set the interval and can't seem to sort it out.

I've tried at the role level with:

{
  "defaults": {
    "chef_client": {
      "interval":15
    }
  },
  "overrides":{
  }
} 

and at the node level with:

{
  "chef_client": {
    "interval":25
  },
  "tags":[]
} 

but the interval on the node is still 1800 (default)

© Stack Overflow or respective owner

Related posts about attributes

Related posts about chef